package com.css.fxfzypg.modules.suggestinfo.analysis.emergencydisposal.controller;

import com.css.fxfzypg.modules.suggestinfo.analysis.emergencydisposal.service.EmergencyDisposalService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/emergencyDisposal")
@Slf4j
public class EmergencyDisposalController {

    @Autowired
    EmergencyDisposalService emergencyDisposalService;

    /**
     * 获取应急处置对策详情页(对策建议分析模块)
     * @param params
     * @return
     */
    /*@GetMapping("/getEmergencyDisposalData")
    public RestResponse getEmergencyDisposalData(ParamsVo params) {
        RestResponse response = null;
        try{
            EmergencyDisposalEntity emergencyDisasterEntity = emergencyDisposalService.getEmergencyDisposalData(params);
            response = RestResponse.succeed(emergencyDisasterEntity);
            response.setMessage("获取详情页数据成功");
        }catch (Exception e){
            log.error("获取详情页数据失败!",e);
            response=RestResponse.fail("获取详情页数据失败!");
        }
        return response;
    }*/
}
